<?php
function value_change($first,$second)

{
$temp = $first;
$first = $second;

$second = $temp;	
}



$a=10;
$b=20;
echo $a."\n";
echo $b."\n";

value_change(&$a,&$b);

echo $a."\n";
echo $b."\n";

?>